import * as SSKEYS from '@/common/session-storage-keys'

export function getToken() {
	return uni.getStorageSync(SSKEYS.ACCOUNT_TOKEN_KEY)
}

export function setToken(token) {
	return uni.setStorageSync(SSKEYS.ACCOUNT_TOKEN_KEY, token)
}


export function removeToken() {
	return uni.removeStorageSync(SSKEYS.ACCOUNT_TOKEN_KEY)
}

export function setXcxOpenid(openid) {
	return uni.setStorageSync(SSKEYS.WX_XCX_OPENID_KEY, openid)
}
export function getXcxOpenid() {
	return uni.getStorageSync(SSKEYS.WX_XCX_OPENID_KEY)
}

